package com.medical.data.utils;

import com.alibaba.fastjson2.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class InputResultStructUtils {

    /**
     * 不允许重复
     */
    private boolean notRepeat;


    public static InputResultStructUtils builder(Map<String, Object> params) {
       return JSONObject.parseObject(params.toString(), InputResultStructUtils.class);
        //return null;
    }
}